Option Strict On
Option Explicit On 

Public Class UMultiSelect
    Inherits System.Windows.Forms.UserControl

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents cboStartupTable As System.Windows.Forms.ComboBox
    Friend WithEvents lblDataTable As System.Windows.Forms.Label
    Friend WithEvents cboDataTable As System.Windows.Forms.ComboBox
    Friend WithEvents lblStartupTable As System.Windows.Forms.Label
    Friend WithEvents cboSourceField As System.Windows.Forms.ComboBox
    Friend WithEvents lblSourceField As System.Windows.Forms.Label
    Friend WithEvents cboSelectionField As System.Windows.Forms.ComboBox
    Friend WithEvents lblSelectionField As System.Windows.Forms.Label
    Friend WithEvents cboDestinationField As System.Windows.Forms.ComboBox
    Friend WithEvents lblDestinationField As System.Windows.Forms.Label
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(UMultiSelect))
        Me.lblStartupTable = New System.Windows.Forms.Label
        Me.cboStartupTable = New System.Windows.Forms.ComboBox
        Me.lblDataTable = New System.Windows.Forms.Label
        Me.cboDataTable = New System.Windows.Forms.ComboBox
        Me.cboSourceField = New System.Windows.Forms.ComboBox
        Me.lblSourceField = New System.Windows.Forms.Label
        Me.cboSelectionField = New System.Windows.Forms.ComboBox
        Me.lblSelectionField = New System.Windows.Forms.Label
        Me.cboDestinationField = New System.Windows.Forms.ComboBox
        Me.lblDestinationField = New System.Windows.Forms.Label
        Me.SuspendLayout()
        '
        'lblStartupTable
        '
        Me.lblStartupTable.AccessibleDescription = resources.GetString("lblStartupTable.AccessibleDescription")
        Me.lblStartupTable.AccessibleName = resources.GetString("lblStartupTable.AccessibleName")
        Me.lblStartupTable.Anchor = CType(resources.GetObject("lblStartupTable.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblStartupTable.AutoSize = CType(resources.GetObject("lblStartupTable.AutoSize"), Boolean)
        Me.lblStartupTable.Dock = CType(resources.GetObject("lblStartupTable.Dock"), System.Windows.Forms.DockStyle)
        Me.lblStartupTable.Enabled = CType(resources.GetObject("lblStartupTable.Enabled"), Boolean)
        Me.lblStartupTable.Font = CType(resources.GetObject("lblStartupTable.Font"), System.Drawing.Font)
        Me.lblStartupTable.Image = CType(resources.GetObject("lblStartupTable.Image"), System.Drawing.Image)
        Me.lblStartupTable.ImageAlign = CType(resources.GetObject("lblStartupTable.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblStartupTable.ImageIndex = CType(resources.GetObject("lblStartupTable.ImageIndex"), Integer)
        Me.lblStartupTable.ImeMode = CType(resources.GetObject("lblStartupTable.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblStartupTable.Location = CType(resources.GetObject("lblStartupTable.Location"), System.Drawing.Point)
        Me.lblStartupTable.Name = "lblStartupTable"
        Me.lblStartupTable.RightToLeft = CType(resources.GetObject("lblStartupTable.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblStartupTable.Size = CType(resources.GetObject("lblStartupTable.Size"), System.Drawing.Size)
        Me.lblStartupTable.TabIndex = CType(resources.GetObject("lblStartupTable.TabIndex"), Integer)
        Me.lblStartupTable.Text = resources.GetString("lblStartupTable.Text")
        Me.lblStartupTable.TextAlign = CType(resources.GetObject("lblStartupTable.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblStartupTable.Visible = CType(resources.GetObject("lblStartupTable.Visible"), Boolean)
        '
        'cboStartupTable
        '
        Me.cboStartupTable.AccessibleDescription = resources.GetString("cboStartupTable.AccessibleDescription")
        Me.cboStartupTable.AccessibleName = resources.GetString("cboStartupTable.AccessibleName")
        Me.cboStartupTable.Anchor = CType(resources.GetObject("cboStartupTable.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboStartupTable.BackgroundImage = CType(resources.GetObject("cboStartupTable.BackgroundImage"), System.Drawing.Image)
        Me.cboStartupTable.Dock = CType(resources.GetObject("cboStartupTable.Dock"), System.Windows.Forms.DockStyle)
        Me.cboStartupTable.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboStartupTable.Enabled = CType(resources.GetObject("cboStartupTable.Enabled"), Boolean)
        Me.cboStartupTable.Font = CType(resources.GetObject("cboStartupTable.Font"), System.Drawing.Font)
        Me.cboStartupTable.ImeMode = CType(resources.GetObject("cboStartupTable.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboStartupTable.IntegralHeight = CType(resources.GetObject("cboStartupTable.IntegralHeight"), Boolean)
        Me.cboStartupTable.ItemHeight = CType(resources.GetObject("cboStartupTable.ItemHeight"), Integer)
        Me.cboStartupTable.Location = CType(resources.GetObject("cboStartupTable.Location"), System.Drawing.Point)
        Me.cboStartupTable.MaxDropDownItems = CType(resources.GetObject("cboStartupTable.MaxDropDownItems"), Integer)
        Me.cboStartupTable.MaxLength = CType(resources.GetObject("cboStartupTable.MaxLength"), Integer)
        Me.cboStartupTable.Name = "cboStartupTable"
        Me.cboStartupTable.RightToLeft = CType(resources.GetObject("cboStartupTable.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboStartupTable.Size = CType(resources.GetObject("cboStartupTable.Size"), System.Drawing.Size)
        Me.cboStartupTable.TabIndex = CType(resources.GetObject("cboStartupTable.TabIndex"), Integer)
        Me.cboStartupTable.Text = resources.GetString("cboStartupTable.Text")
        Me.cboStartupTable.Visible = CType(resources.GetObject("cboStartupTable.Visible"), Boolean)
        '
        'lblDataTable
        '
        Me.lblDataTable.AccessibleDescription = resources.GetString("lblDataTable.AccessibleDescription")
        Me.lblDataTable.AccessibleName = resources.GetString("lblDataTable.AccessibleName")
        Me.lblDataTable.Anchor = CType(resources.GetObject("lblDataTable.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblDataTable.AutoSize = CType(resources.GetObject("lblDataTable.AutoSize"), Boolean)
        Me.lblDataTable.Dock = CType(resources.GetObject("lblDataTable.Dock"), System.Windows.Forms.DockStyle)
        Me.lblDataTable.Enabled = CType(resources.GetObject("lblDataTable.Enabled"), Boolean)
        Me.lblDataTable.Font = CType(resources.GetObject("lblDataTable.Font"), System.Drawing.Font)
        Me.lblDataTable.Image = CType(resources.GetObject("lblDataTable.Image"), System.Drawing.Image)
        Me.lblDataTable.ImageAlign = CType(resources.GetObject("lblDataTable.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblDataTable.ImageIndex = CType(resources.GetObject("lblDataTable.ImageIndex"), Integer)
        Me.lblDataTable.ImeMode = CType(resources.GetObject("lblDataTable.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblDataTable.Location = CType(resources.GetObject("lblDataTable.Location"), System.Drawing.Point)
        Me.lblDataTable.Name = "lblDataTable"
        Me.lblDataTable.RightToLeft = CType(resources.GetObject("lblDataTable.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblDataTable.Size = CType(resources.GetObject("lblDataTable.Size"), System.Drawing.Size)
        Me.lblDataTable.TabIndex = CType(resources.GetObject("lblDataTable.TabIndex"), Integer)
        Me.lblDataTable.Text = resources.GetString("lblDataTable.Text")
        Me.lblDataTable.TextAlign = CType(resources.GetObject("lblDataTable.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblDataTable.Visible = CType(resources.GetObject("lblDataTable.Visible"), Boolean)
        '
        'cboDataTable
        '
        Me.cboDataTable.AccessibleDescription = resources.GetString("cboDataTable.AccessibleDescription")
        Me.cboDataTable.AccessibleName = resources.GetString("cboDataTable.AccessibleName")
        Me.cboDataTable.Anchor = CType(resources.GetObject("cboDataTable.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboDataTable.BackgroundImage = CType(resources.GetObject("cboDataTable.BackgroundImage"), System.Drawing.Image)
        Me.cboDataTable.Dock = CType(resources.GetObject("cboDataTable.Dock"), System.Windows.Forms.DockStyle)
        Me.cboDataTable.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.cboDataTable.Enabled = CType(resources.GetObject("cboDataTable.Enabled"), Boolean)
        Me.cboDataTable.Font = CType(resources.GetObject("cboDataTable.Font"), System.Drawing.Font)
        Me.cboDataTable.ImeMode = CType(resources.GetObject("cboDataTable.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboDataTable.IntegralHeight = CType(resources.GetObject("cboDataTable.IntegralHeight"), Boolean)
        Me.cboDataTable.ItemHeight = CType(resources.GetObject("cboDataTable.ItemHeight"), Integer)
        Me.cboDataTable.Location = CType(resources.GetObject("cboDataTable.Location"), System.Drawing.Point)
        Me.cboDataTable.MaxDropDownItems = CType(resources.GetObject("cboDataTable.MaxDropDownItems"), Integer)
        Me.cboDataTable.MaxLength = CType(resources.GetObject("cboDataTable.MaxLength"), Integer)
        Me.cboDataTable.Name = "cboDataTable"
        Me.cboDataTable.RightToLeft = CType(resources.GetObject("cboDataTable.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboDataTable.Size = CType(resources.GetObject("cboDataTable.Size"), System.Drawing.Size)
        Me.cboDataTable.TabIndex = CType(resources.GetObject("cboDataTable.TabIndex"), Integer)
        Me.cboDataTable.Text = resources.GetString("cboDataTable.Text")
        Me.cboDataTable.Visible = CType(resources.GetObject("cboDataTable.Visible"), Boolean)
        '
        'cboSourceField
        '
        Me.cboSourceField.AccessibleDescription = resources.GetString("cboSourceField.AccessibleDescription")
        Me.cboSourceField.AccessibleName = resources.GetString("cboSourceField.AccessibleName")
        Me.cboSourceField.Anchor = CType(resources.GetObject("cboSourceField.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboSourceField.BackgroundImage = CType(resources.GetObject("cboSourceField.BackgroundImage"), System.Drawing.Image)
        Me.cboSourceField.Dock = CType(resources.GetObject("cboSourceField.Dock"), System.Windows.Forms.DockStyle)
        Me.cboSourceField.Enabled = CType(resources.GetObject("cboSourceField.Enabled"), Boolean)
        Me.cboSourceField.Font = CType(resources.GetObject("cboSourceField.Font"), System.Drawing.Font)
        Me.cboSourceField.ImeMode = CType(resources.GetObject("cboSourceField.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboSourceField.IntegralHeight = CType(resources.GetObject("cboSourceField.IntegralHeight"), Boolean)
        Me.cboSourceField.ItemHeight = CType(resources.GetObject("cboSourceField.ItemHeight"), Integer)
        Me.cboSourceField.Location = CType(resources.GetObject("cboSourceField.Location"), System.Drawing.Point)
        Me.cboSourceField.MaxDropDownItems = CType(resources.GetObject("cboSourceField.MaxDropDownItems"), Integer)
        Me.cboSourceField.MaxLength = CType(resources.GetObject("cboSourceField.MaxLength"), Integer)
        Me.cboSourceField.Name = "cboSourceField"
        Me.cboSourceField.RightToLeft = CType(resources.GetObject("cboSourceField.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboSourceField.Size = CType(resources.GetObject("cboSourceField.Size"), System.Drawing.Size)
        Me.cboSourceField.TabIndex = CType(resources.GetObject("cboSourceField.TabIndex"), Integer)
        Me.cboSourceField.Text = resources.GetString("cboSourceField.Text")
        Me.cboSourceField.Visible = CType(resources.GetObject("cboSourceField.Visible"), Boolean)
        '
        'lblSourceField
        '
        Me.lblSourceField.AccessibleDescription = resources.GetString("lblSourceField.AccessibleDescription")
        Me.lblSourceField.AccessibleName = resources.GetString("lblSourceField.AccessibleName")
        Me.lblSourceField.Anchor = CType(resources.GetObject("lblSourceField.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblSourceField.AutoSize = CType(resources.GetObject("lblSourceField.AutoSize"), Boolean)
        Me.lblSourceField.Dock = CType(resources.GetObject("lblSourceField.Dock"), System.Windows.Forms.DockStyle)
        Me.lblSourceField.Enabled = CType(resources.GetObject("lblSourceField.Enabled"), Boolean)
        Me.lblSourceField.Font = CType(resources.GetObject("lblSourceField.Font"), System.Drawing.Font)
        Me.lblSourceField.Image = CType(resources.GetObject("lblSourceField.Image"), System.Drawing.Image)
        Me.lblSourceField.ImageAlign = CType(resources.GetObject("lblSourceField.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblSourceField.ImageIndex = CType(resources.GetObject("lblSourceField.ImageIndex"), Integer)
        Me.lblSourceField.ImeMode = CType(resources.GetObject("lblSourceField.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblSourceField.Location = CType(resources.GetObject("lblSourceField.Location"), System.Drawing.Point)
        Me.lblSourceField.Name = "lblSourceField"
        Me.lblSourceField.RightToLeft = CType(resources.GetObject("lblSourceField.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblSourceField.Size = CType(resources.GetObject("lblSourceField.Size"), System.Drawing.Size)
        Me.lblSourceField.TabIndex = CType(resources.GetObject("lblSourceField.TabIndex"), Integer)
        Me.lblSourceField.Text = resources.GetString("lblSourceField.Text")
        Me.lblSourceField.TextAlign = CType(resources.GetObject("lblSourceField.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblSourceField.Visible = CType(resources.GetObject("lblSourceField.Visible"), Boolean)
        '
        'cboSelectionField
        '
        Me.cboSelectionField.AccessibleDescription = resources.GetString("cboSelectionField.AccessibleDescription")
        Me.cboSelectionField.AccessibleName = resources.GetString("cboSelectionField.AccessibleName")
        Me.cboSelectionField.Anchor = CType(resources.GetObject("cboSelectionField.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboSelectionField.BackgroundImage = CType(resources.GetObject("cboSelectionField.BackgroundImage"), System.Drawing.Image)
        Me.cboSelectionField.Dock = CType(resources.GetObject("cboSelectionField.Dock"), System.Windows.Forms.DockStyle)
        Me.cboSelectionField.Enabled = CType(resources.GetObject("cboSelectionField.Enabled"), Boolean)
        Me.cboSelectionField.Font = CType(resources.GetObject("cboSelectionField.Font"), System.Drawing.Font)
        Me.cboSelectionField.ImeMode = CType(resources.GetObject("cboSelectionField.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboSelectionField.IntegralHeight = CType(resources.GetObject("cboSelectionField.IntegralHeight"), Boolean)
        Me.cboSelectionField.ItemHeight = CType(resources.GetObject("cboSelectionField.ItemHeight"), Integer)
        Me.cboSelectionField.Location = CType(resources.GetObject("cboSelectionField.Location"), System.Drawing.Point)
        Me.cboSelectionField.MaxDropDownItems = CType(resources.GetObject("cboSelectionField.MaxDropDownItems"), Integer)
        Me.cboSelectionField.MaxLength = CType(resources.GetObject("cboSelectionField.MaxLength"), Integer)
        Me.cboSelectionField.Name = "cboSelectionField"
        Me.cboSelectionField.RightToLeft = CType(resources.GetObject("cboSelectionField.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboSelectionField.Size = CType(resources.GetObject("cboSelectionField.Size"), System.Drawing.Size)
        Me.cboSelectionField.TabIndex = CType(resources.GetObject("cboSelectionField.TabIndex"), Integer)
        Me.cboSelectionField.Text = resources.GetString("cboSelectionField.Text")
        Me.cboSelectionField.Visible = CType(resources.GetObject("cboSelectionField.Visible"), Boolean)
        '
        'lblSelectionField
        '
        Me.lblSelectionField.AccessibleDescription = resources.GetString("lblSelectionField.AccessibleDescription")
        Me.lblSelectionField.AccessibleName = resources.GetString("lblSelectionField.AccessibleName")
        Me.lblSelectionField.Anchor = CType(resources.GetObject("lblSelectionField.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblSelectionField.AutoSize = CType(resources.GetObject("lblSelectionField.AutoSize"), Boolean)
        Me.lblSelectionField.Dock = CType(resources.GetObject("lblSelectionField.Dock"), System.Windows.Forms.DockStyle)
        Me.lblSelectionField.Enabled = CType(resources.GetObject("lblSelectionField.Enabled"), Boolean)
        Me.lblSelectionField.Font = CType(resources.GetObject("lblSelectionField.Font"), System.Drawing.Font)
        Me.lblSelectionField.Image = CType(resources.GetObject("lblSelectionField.Image"), System.Drawing.Image)
        Me.lblSelectionField.ImageAlign = CType(resources.GetObject("lblSelectionField.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblSelectionField.ImageIndex = CType(resources.GetObject("lblSelectionField.ImageIndex"), Integer)
        Me.lblSelectionField.ImeMode = CType(resources.GetObject("lblSelectionField.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblSelectionField.Location = CType(resources.GetObject("lblSelectionField.Location"), System.Drawing.Point)
        Me.lblSelectionField.Name = "lblSelectionField"
        Me.lblSelectionField.RightToLeft = CType(resources.GetObject("lblSelectionField.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblSelectionField.Size = CType(resources.GetObject("lblSelectionField.Size"), System.Drawing.Size)
        Me.lblSelectionField.TabIndex = CType(resources.GetObject("lblSelectionField.TabIndex"), Integer)
        Me.lblSelectionField.Text = resources.GetString("lblSelectionField.Text")
        Me.lblSelectionField.TextAlign = CType(resources.GetObject("lblSelectionField.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblSelectionField.Visible = CType(resources.GetObject("lblSelectionField.Visible"), Boolean)
        '
        'cboDestinationField
        '
        Me.cboDestinationField.AccessibleDescription = resources.GetString("cboDestinationField.AccessibleDescription")
        Me.cboDestinationField.AccessibleName = resources.GetString("cboDestinationField.AccessibleName")
        Me.cboDestinationField.Anchor = CType(resources.GetObject("cboDestinationField.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.cboDestinationField.BackgroundImage = CType(resources.GetObject("cboDestinationField.BackgroundImage"), System.Drawing.Image)
        Me.cboDestinationField.Dock = CType(resources.GetObject("cboDestinationField.Dock"), System.Windows.Forms.DockStyle)
        Me.cboDestinationField.Enabled = CType(resources.GetObject("cboDestinationField.Enabled"), Boolean)
        Me.cboDestinationField.Font = CType(resources.GetObject("cboDestinationField.Font"), System.Drawing.Font)
        Me.cboDestinationField.ImeMode = CType(resources.GetObject("cboDestinationField.ImeMode"), System.Windows.Forms.ImeMode)
        Me.cboDestinationField.IntegralHeight = CType(resources.GetObject("cboDestinationField.IntegralHeight"), Boolean)
        Me.cboDestinationField.ItemHeight = CType(resources.GetObject("cboDestinationField.ItemHeight"), Integer)
        Me.cboDestinationField.Location = CType(resources.GetObject("cboDestinationField.Location"), System.Drawing.Point)
        Me.cboDestinationField.MaxDropDownItems = CType(resources.GetObject("cboDestinationField.MaxDropDownItems"), Integer)
        Me.cboDestinationField.MaxLength = CType(resources.GetObject("cboDestinationField.MaxLength"), Integer)
        Me.cboDestinationField.Name = "cboDestinationField"
        Me.cboDestinationField.RightToLeft = CType(resources.GetObject("cboDestinationField.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.cboDestinationField.Size = CType(resources.GetObject("cboDestinationField.Size"), System.Drawing.Size)
        Me.cboDestinationField.TabIndex = CType(resources.GetObject("cboDestinationField.TabIndex"), Integer)
        Me.cboDestinationField.Text = resources.GetString("cboDestinationField.Text")
        Me.cboDestinationField.Visible = CType(resources.GetObject("cboDestinationField.Visible"), Boolean)
        '
        'lblDestinationField
        '
        Me.lblDestinationField.AccessibleDescription = resources.GetString("lblDestinationField.AccessibleDescription")
        Me.lblDestinationField.AccessibleName = resources.GetString("lblDestinationField.AccessibleName")
        Me.lblDestinationField.Anchor = CType(resources.GetObject("lblDestinationField.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblDestinationField.AutoSize = CType(resources.GetObject("lblDestinationField.AutoSize"), Boolean)
        Me.lblDestinationField.Dock = CType(resources.GetObject("lblDestinationField.Dock"), System.Windows.Forms.DockStyle)
        Me.lblDestinationField.Enabled = CType(resources.GetObject("lblDestinationField.Enabled"), Boolean)
        Me.lblDestinationField.Font = CType(resources.GetObject("lblDestinationField.Font"), System.Drawing.Font)
        Me.lblDestinationField.Image = CType(resources.GetObject("lblDestinationField.Image"), System.Drawing.Image)
        Me.lblDestinationField.ImageAlign = CType(resources.GetObject("lblDestinationField.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblDestinationField.ImageIndex = CType(resources.GetObject("lblDestinationField.ImageIndex"), Integer)
        Me.lblDestinationField.ImeMode = CType(resources.GetObject("lblDestinationField.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblDestinationField.Location = CType(resources.GetObject("lblDestinationField.Location"), System.Drawing.Point)
        Me.lblDestinationField.Name = "lblDestinationField"
        Me.lblDestinationField.RightToLeft = CType(resources.GetObject("lblDestinationField.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblDestinationField.Size = CType(resources.GetObject("lblDestinationField.Size"), System.Drawing.Size)
        Me.lblDestinationField.TabIndex = CType(resources.GetObject("lblDestinationField.TabIndex"), Integer)
        Me.lblDestinationField.Text = resources.GetString("lblDestinationField.Text")
        Me.lblDestinationField.TextAlign = CType(resources.GetObject("lblDestinationField.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblDestinationField.Visible = CType(resources.GetObject("lblDestinationField.Visible"), Boolean)
        '
        'UMultiSelect
        '
        Me.AccessibleDescription = resources.GetString("$this.AccessibleDescription")
        Me.AccessibleName = resources.GetString("$this.AccessibleName")
        Me.AutoScroll = CType(resources.GetObject("$this.AutoScroll"), Boolean)
        Me.AutoScrollMargin = CType(resources.GetObject("$this.AutoScrollMargin"), System.Drawing.Size)
        Me.AutoScrollMinSize = CType(resources.GetObject("$this.AutoScrollMinSize"), System.Drawing.Size)
        Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
        Me.Controls.Add(Me.cboDestinationField)
        Me.Controls.Add(Me.lblDestinationField)
        Me.Controls.Add(Me.cboSelectionField)
        Me.Controls.Add(Me.lblSelectionField)
        Me.Controls.Add(Me.cboSourceField)
        Me.Controls.Add(Me.lblSourceField)
        Me.Controls.Add(Me.lblDataTable)
        Me.Controls.Add(Me.cboDataTable)
        Me.Controls.Add(Me.lblStartupTable)
        Me.Controls.Add(Me.cboStartupTable)
        Me.Enabled = CType(resources.GetObject("$this.Enabled"), Boolean)
        Me.Font = CType(resources.GetObject("$this.Font"), System.Drawing.Font)
        Me.ImeMode = CType(resources.GetObject("$this.ImeMode"), System.Windows.Forms.ImeMode)
        Me.Location = CType(resources.GetObject("$this.Location"), System.Drawing.Point)
        Me.Name = "UMultiSelect"
        Me.RightToLeft = CType(resources.GetObject("$this.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.Size = CType(resources.GetObject("$this.Size"), System.Drawing.Size)
        Me.ResumeLayout(False)

    End Sub

#End Region

    Public Event ValueChanged As EventHandler

    Private Sub UMultiSelect_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        AddHandler cboStartupTable.SelectionChangeCommitted, AddressOf OnValueChanged
        AddHandler cboDataTable.SelectionChangeCommitted, AddressOf OnValueChanged
        AddHandler cboSourceField.TextChanged, AddressOf OnValueChanged
        AddHandler cboSelectionField.TextChanged, AddressOf OnValueChanged
        AddHandler cboDestinationField.TextChanged, AddressOf OnValueChanged
    End Sub

    Protected Sub OnValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
        RaiseEvent ValueChanged(Me, New EventArgs)
    End Sub

    Public Sub Prepare(ByVal section As Model10.Section)
        cboStartupTable.Items.Clear() : cboStartupTable.Items.Add("[None]")
        cboDataTable.Items.Clear()

        Dim tbl As Model10.Table
        For Each tbl In section.Table.Presentation.Tables
            If Not tbl Is section.Table Then
                cboStartupTable.Items.Add(tbl)
                cboDataTable.Items.Add(tbl)
            End If
        Next : tbl = Nothing
        '-------------------
        cboSourceField.Items.Clear()
        cboSelectionField.Items.Clear()
        cboDestinationField.Items.Clear()

        Dim col As DataColumn
        For Each col In section.Table.DataTable.Columns
            cboSourceField.Items.Add(col)
            cboSelectionField.Items.Add(col)
            cboDestinationField.Items.Add(col)
        Next : col = Nothing
    End Sub

    Public Sub Read(ByVal multiSelect As Model10.MultiSelect)
        If multiSelect.StartupTable Is Nothing Then
            cboStartupTable.SelectedItem = "[None]"
        Else
            cboStartupTable.SelectedItem = multiSelect.StartupTable
        End If
        cboDataTable.SelectedItem = multiSelect.DataTable
        cboSourceField.Text = multiSelect.SourceField
        cboSelectionField.Text = multiSelect.SelectionField
        cboDestinationField.Text = multiSelect.DestinationField
    End Sub
    Public Sub Write(ByVal multiSelect As Model10.MultiSelect)
        If cboStartupTable.Text = "[None]" Then
            multiSelect.StartupTable = Nothing
        Else
            multiSelect.StartupTable = CType(cboStartupTable.SelectedItem, Model10.Table)
        End If
        multiSelect.DataTable = CType(cboDataTable.SelectedItem, Model10.Table)
        multiSelect.SourceField = cboSourceField.Text
        multiSelect.SelectionField = cboSelectionField.Text
        multiSelect.DestinationField = cboDestinationField.Text
    End Sub
End Class